import request from '@/config/axios'

/** 班级物品自检信息 */
export interface ClassAssetCheck {
  id: number // 编号
  classId?: number // 班级ID
  checkNotes?: string // 检查说明
}

// 班级物品自检 API
export const ClassAssetCheckApi = {
  // 查询班级物品自检情况
  getClassAssetCheck: async (params: any) => {
    return await request.get({ url: `/school/class-asset-check/query`, params })
  },
  // 修改班级物品自检
  updateClassAssetCheck: async (data: ClassAssetCheck) => {
    return await request.put({ url: `/school/class-asset-check/update`, data })
  }
}
